﻿namespace NewRetail.Application.Components.TianQue.Configurations
{
    /// <summary>
    /// 天阙配置项
    /// </summary>
    public class TianQueOptions
    {
        /// <summary>
        /// 私钥
        /// </summary>
        public string PrivateKeyPem { get; set; } = string.Empty;
        /// <summary>
        /// 公钥
        /// </summary>
        public string PublicKeyPem { get; set; } = string.Empty;
        /// <summary>
        /// 商户编号
        /// </summary>
        public string Mno { get; set; } = string.Empty;
        /// <summary>
        /// 终端号，该笔订单需推送至POS的终端号，仅对应终端会收到这笔订单
        /// </summary>
        public string TrmNo { get; set; }
        /// <summary>
        /// 机构号
        /// </summary>
        public string OrgId { get; set; }
        /// <summary>
        /// 签名类型，默认值：RSA
        /// </summary>
        public string SignType { get; set; } = "RSA";
        /// <summary>
        /// 基础请求地址
        /// </summary>
        public string BaseUrl { get; set; }
    }
}
